/**
 * jims
 */
package com.jims.master.modules.sync.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.sync.entity.ClinicVsCharge;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 诊疗项目与价表对照DAO接口
 * @author 赵宁
 * @version 2017-02-23
 */
@MyBatisDao
public interface ClinicVsChargeDao extends CrudDao<ClinicVsCharge> {
    public int deleteByChargeId(ClinicVsCharge clinicVsCharge);
    public Integer findByClinicId(@Param("clinicId") String clinicId);

    /**
     * 根据诊疗项目的Id查找价表的集合
     * @Author 陈晓阳
     * @param clinicId
     * @return
     */
    //public List<PriceList> findCharges(@Param("clinicId") String clinicId);


    public ClinicVsCharge findByClinicIdChargeId(@Param("clinicId") String clinicId,@Param("chargeId") String chargeId);
}